package zjitc.net.utils.Dao;

import zjitc.net.utils.Student;

import java.sql.SQLException;
import java.util.List;

public interface Dao {
    int add(Student student);
    List<Student> findall()throws Exception;
    Student findbyid(int id)throws Exception;
    int modify(Student student) throws SQLException;
    int del(String name) throws SQLException;
}
